package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.HotelClientMessage;
import cn.wolfcode.trip.base.domain.HotelDetail;
import cn.wolfcode.trip.base.domain.HotelViews;
import cn.wolfcode.trip.base.domain.Region;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IHotelDetailService {

    List<HotelDetail> insertClientandHotelRegionName(String city,HotelClientMessage hotelClientMessage);

    List<HotelDetail> getHotelDetails(Long id);

    HotelDetail selectHotel(Long id);

    void updateHotelLikeRecord(HotelDetail hotelDetail);

    int getLikeSum(Long id);

    int getPageView(Long hid);

    HotelDetail getPageViewAndId(Long hid);

    void updatePageview(HotelDetail pageViewAndId);
    //推荐酒店
    List<HotelDetail> getHotelDetailByHotelRecommend(int state);
}
